import { PORT1 } from "@/api/config/servicePort";
import http from "@/api";

/**
 * @name 大屏数据接口
 */

// 获取Rpa饼图数据
export const getWxManYiDuListApi = (param: any) => {
  return http.post(PORT1 + `/wxmanyidu/getBardata`, param, { loading: false });
};

export const getWxManYiDuExcApi = (param: any) => {
  return http.post(PORT1 + `/wxmanyidu/getexceldata`, param, { loading: false });
};

export const getWxManYiDuApi = (param: any) => {
  return http.post(PORT1 + `/wxmanyidu/getlist`, param, { loading: false });
};

export const getWxCountApi = (param: any) => {
  return http.post(PORT1 + `/wxmanyidu/getcount`, param, { loading: false });
};

export const getWxCountyCountApi = (param: any) => {
  return http.post(PORT1 + `/wxmanyidu/getcontycount`, param, { loading: false });
};

export const getWxGirdCountApi = (param: any) => {
  return http.post(PORT1 + `/wxmanyidu/getgirdcount`, param, { loading: false });
};
